package exam2006jan;
import java.lang.reflect.Field;


public class B extends A {
	private int y;
	
	public B(){
		
	}
	
	public void test(){
		for(Field f : this.getClass().getDeclaredFields())
			System.out.println(f.getName());
	}

}

	

